import request from "@/utils/request";

export default {
    /**
     * 仓库属性枚举
     */
    apiGetWarehouseEnum(params) {
        return request({
            baseURL: window.APP_GETEWAY.wms,
            url: '/api/warehouse-enum',
            method: 'get',
            params,
        })
    },
    /**
     * 获取仓库信息
     * @param data
     * @returns {*}
     */
    apiGetWarehouseList(data) {
        return request({
            baseURL: window.APP_GETEWAY.wms,
            url: '/wms_v1_pc/base/list-warehouse',
            method: 'post',
            data,
        })
    }
}